# -*- coding: utf-8 -*-

###########################################################################
## Python code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
## http://www.wxformbuilder.org/
##
## PLEASE DO *NOT* EDIT THIS FILE!
###########################################################################

import wx
import wx.xrc


###########################################################################
## Class HashPanel
###########################################################################

class HashPanel(wx.Panel):

    def __init__(self, parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.Size(500, 300), style=wx.TAB_TRAVERSAL,
                 name=wx.EmptyString):
        wx.Panel.__init__(self, parent, id=id, pos=pos, size=size, style=style, name=name)

        bSizer15 = wx.BoxSizer(wx.VERTICAL)

        bSizer16 = wx.BoxSizer(wx.HORIZONTAL)

        self.m_staticText8 = wx.StaticText(self, wx.ID_ANY, u"数据", wx.DefaultPosition, wx.DefaultSize, 0)
        self.m_staticText8.Wrap(-1)

        bSizer16.Add(self.m_staticText8, 0, wx.ALL, 5)

        self.edit_data = wx.TextCtrl(self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0)
        bSizer16.Add(self.edit_data, 1, wx.ALL, 5)

        bSizer15.Add(bSizer16, 0, wx.EXPAND, 5)

        bSizer17 = wx.BoxSizer(wx.HORIZONTAL)

        self.m_staticText9 = wx.StaticText(self, wx.ID_ANY, u"MD5", wx.DefaultPosition, wx.DefaultSize, 0)
        self.m_staticText9.Wrap(-1)

        bSizer17.Add(self.m_staticText9, 0, wx.ALL, 5)

        self.result_md5 = wx.TextCtrl(self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0)
        bSizer17.Add(self.result_md5, 1, wx.ALL, 5)

        bSizer15.Add(bSizer17, 0, wx.EXPAND, 5)

        bSizer18 = wx.BoxSizer(wx.HORIZONTAL)

        self.m_button11 = wx.Button(self, wx.ID_ANY, u"计算", wx.DefaultPosition, wx.DefaultSize, 0)
        bSizer18.Add(self.m_button11, 0, wx.ALL, 5)

        self.m_button12 = wx.Button(self, wx.ID_ANY, u"清空", wx.DefaultPosition, wx.DefaultSize, 0)
        bSizer18.Add(self.m_button12, 0, wx.ALL, 5)

        bSizer15.Add(bSizer18, 0, wx.EXPAND, 5)

        self.SetSizer(bSizer15)
        self.Layout()

        # Connect Events
        self.m_button11.Bind(wx.EVT_BUTTON, self.doCalc)
        self.m_button12.Bind(wx.EVT_BUTTON, self.doClear)

    def __del__(self):
        pass

    # Virtual event handlers, override them in your derived class
    def doCalc(self, event):
        event.Skip()

    def doClear(self, event):
        event.Skip()
